package com.googlecode.archimedes.filegen.model.validator;

public class LengthRangeValidator implements Validator {

    private int min;
    private int max;

    public String toImplString() {
        String returnString = "<f:validateLength minimum=\"" + getMin() + "\" maximum=\"" + getMax() + "\" />";
        return returnString;
    }

    public int getMax() {
        return max;
    }

    public void setMax(int max) {
        this.max = max;
    }

    public int getMin() {
        return min;
    }

    public void setMin(int min) {
        this.min = min;
    }

}
